// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "Blueprint/UserWidget.h"
#include "ItemDisplay.h"
#include "NotifyUI.generated.h"

/**
 * 
 */
UCLASS()
class ISALONG2_API UNotifyUI : public UUserWidget
{
	GENERATED_BODY()

public:

	UFUNCTION(BlueprintCallable, Category = "UIInput")
	FItemDisplay GetItemDisplayDataById(int32 id);

	// must use reference
	UFUNCTION(BlueprintImplementableEvent, Category = "UIInput")
	void OnNotifyMiddle(const FString& text,float data);

	UFUNCTION(BlueprintImplementableEvent, Category = "UIInput")
	void SetRightDownMode(int32 mode);

	UFUNCTION(BlueprintImplementableEvent,Category="UIInput")
	void OnRightDownUpdate(int32 data0, int32 data1);

	UFUNCTION(BlueprintImplementableEvent, Category = "UIInput")
	void OnRingPercentChange(float val);

	UFUNCTION(BlueprintImplementableEvent, Category = "UIInput")
	void OnHealthChange(int32 data);

	UFUNCTION(BlueprintImplementableEvent, Category = "UIInput")
	void OnWaterChange(int32 data);
	
	UFUNCTION(BlueprintImplementableEvent, Category = "UIInput")
	void OnHungryChange(int32 data);

	UFUNCTION(BlueprintImplementableEvent, Category = "UIInput")
	void OnImmunityChange(int32 data);

	UFUNCTION(BlueprintImplementableEvent, Category = "UIInput")
	void OnBagLeftChange(float currentWeight, float total);

	UFUNCTION(BlueprintImplementableEvent, Category = "UIInput")
	void OnItemAddNotify(int32 id, int32 count);
};
